qui(
    function (require, exports, module) {


        ///import js-src/lib/
        ///import js-src/com/

        window.Director = window.Director || {
            version: '1.0'
        };
        Director.Constant = {
            thirdUrl_quick_create_preview:"http://ip:port/start",
            devMode: auth.dev()
        }
        Director.urlConfig = (function () {
            var useUrl = EpgWeb.Constant.baseApiUrl;
            var directorListUrl = useUrl + "director/list";
            var directorAddUrl = useUrl + "director/create";
            var directorStopUrl = useUrl + "director/stop";
            var directorStartUrl = useUrl + "director/start";
            var directorEditUrl = useUrl + "director/edit";
            var resourceListUrl = useUrl + "director/resource/getList";
            var resourceAddUrl = useUrl + "director/resource/add";
            var resourceEditUrl = useUrl + "director/resource/edit";
            var resourceDelUrl = useUrl + "director/resource/del";
            var directorLogUrl = useUrl + "director/log/list";
            var switchBackUpUrl = useUrl + "director/backup/switch";
            var switchResourceUrl = useUrl + "director/resource/switch";
            var queryRtmpUrl = useUrl + "program/getRtmpStream";
            var releaseAllUrl = useUrl + "director/releaseAll";
            var releaseUrl = useUrl + "director/release";
            var programSearchUrl = useUrl + "program/search";
            var effectAddUrl = useUrl + "director/effect/add";
            var effectEditUrl = useUrl + "director/effect/edit";
            var effectDelUrl = useUrl + "director/effect/del";
            var effectListUrl = useUrl + "director/effect/list";
            var commentaryListUrl = useUrl + "director/commentary/list";
            var commentaryDelUrl = useUrl + "director/commentary/del";
            var commentaryEditUrl = useUrl + "director/commentary/edit";
			var directorSetMainResourceUrl = useUrl + "director/setMainResource";
            var setResourcePlayCountsUrl = useUrl + "director/resource/setPlayCounts";

            return {
                listUrl: directorListUrl,
                addUrl: directorAddUrl,
                startUrl: directorStartUrl,
                stopUrl: directorStopUrl,
                editUrl: directorEditUrl,
                resourceListUrl: resourceListUrl,
                addResourceUrl: resourceAddUrl,
                editResourceUrl: resourceEditUrl,
                delResourceUrl: resourceDelUrl,
                directorLogUrl:directorLogUrl,
                switchBackUpUrl:switchBackUpUrl,
                switchResourceUrl:switchResourceUrl,
                queryRtmpUrl:queryRtmpUrl,
                programSearchUrl: programSearchUrl,
                releaseAllUrl:releaseAllUrl,
                releaseUrl:releaseUrl,
                effectAddUrl:effectAddUrl,
                effectEditUrl:effectEditUrl,
                effectDelUrl: effectDelUrl,
                effectListUrl: effectListUrl,
                commentaryListUrl: commentaryListUrl,
                commentaryDelUrl: commentaryDelUrl,
                commentaryEditUrl: commentaryEditUrl,
				directorSetMainResourceUrl: directorSetMainResourceUrl,
                setResourcePlayCountsUrl: setResourcePlayCountsUrl,
            }
        })();


    }
);
